body{
    background-image: linear-gradient(to right, #A3D900,#63B8D3);
    font-family: kaiti;
}

.gameBox{
    width: 100%;
    height: 100vh;
    margin: 0%;
    padding: 1% 0;
    position: relative;
}

.gameArea{
    width: 40%;
    height: 90%;
    background-image: url(./images/bg.jpg);
    background-size: 100% 100%;
    position: absolute;
    left: 30%;
    top: 5%;
    overflow: hidden;/*超出游戏区域以外部分隐藏 */
}
.gameRule{
    width: 30%;
    height: 98%;
    background-image: url(./images/give.png);
    background-size: 100% 100%;
    position: absolute;
    right: 0%;
    top: 1%;
}

.score{
    float: left;
    margin-left: 10px;
    margin-top: 10px;
     color: #A3D900;
    font-size: 15px;
    pointer-events: none;
}
.time{
    float: right;
    margin-top: 10px;
    margin-right: 20px;
    color: white;
   
    font-size: 15px;
    pointer-events: none;
}
.timeNum{
    font-size: 16px;

}
.scoreNum{
    font-size: 16px;
}


.myAir{
    width: 106px;
    height: 76px;
    background-image: url(./images/me.png);
    background-size: 100% 100%;
    position: absolute;
    left: calc(50% - 53px);
    bottom:10%;
    z-index: 10;
    pointer-events: none;
    /* display: none; */
}


.enemyAircraft{
    width: 98px;
    height: 76px;
    position: absolute;
    pointer-events: none;
}

.e1{
    background-image: url("./images/e1.png");
    background-size: contain;
  left: 0px;
    top: 20px;
}
.e2{
    background-image: url("./images/e2.png");
    background-size: contain;
     background-repeat: no-repeat;
    left: 100px;
    top: 20px;
}

.e3{
    background-image: url("./images/e3.png");
    background-size: contain;
     background-repeat: no-repeat;
     left: 200px;
     top: 20px;
    z-index: 10;
}
.bullet{
    width: 10px;
    height: 35px;
    background-image: url("./images/b.png");
    /* background-size: 100% 100%; */
    position: absolute;
    left: 20%;
    top: 50%;
    top: 220px;
    left: 110px;
}
.shadow{
    width: 100%;
    height: 100%;
    margin: 0% auto;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    z-index: 100;
}
.mycanvas{
    width: 200px ;
    height: 200px;
    /* width: 40% ;
    height: 25%; */
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 25px;
     /* border: 1px solid red; */
    position: absolute;
    top: calc(50% - 100px);
    left: calc(50% - 100px);
    display: none;
    flex-direction: column;
    justify-content: space-around;
}
.flyTime{
    width: 200px;
    height: 60%;
    margin: 0 auto;
    color: yellow;
    font-size: 30px;

    font-weight: bold;
    /* font-family: 楷体; */
     -webkit-text-stroke: 0.6px black;  /*字体边框 */
    position: absolute;
    left: 15%;

    top: 5%;

}
.flyTimeNum{  
    width: 100px;
    height: 20px;
    font-size: 60px;
    color: green;
    position: absolute;
    left: calc(60% - 50px);
    top: 20%;
  -webkit-text-stroke: 0.6px yellow; 
}
.rank{
    width: 45%;
    height: 5%;
    margin: 0 atuo;
    color: slateblue;
    font-size: 20px;
    position: absolute; 
     left: 30%;
    bottom: 35%;
}

.gameBtn{

    cursor: pointer;
    position: absolute;
    left: calc(50% - 50px);
    top: calc(50% - 43px);
    z-index: 100;
}
.btn{
    width: 100px;
    height: 46px;
    color: white;
    font-weight: bolder;
    background-image: url("./images/play.png");
    background-size: 100% 100%;
    text-align: center;
    line-height: 46px;
    cursor: pointer; 
}
.reGameBtn{
    position: absolute;
    left: 25%;
    bottom: 5%;
}



















